<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh-CN">
<head>
<title>${mall.title}</title>
<#include "top.html">
<div class="wrap">
<div class="box">
<div class="content">
<div class="p_title clear"><span class="tag">${mall.title}</span>
</div>
<script type="text/javascript">
	function showbigimg(obj){
		$('#bigpic img').attr('src',$('#t_'+obj+' img').attr('src'));
		$('#smallpic span').removeClass('focus');
		$('#t_'+obj).addClass('focus');
	}
	var afterLoginInfoDo = function(){
		if($('#loginMember_uid').val()!=0){
			$('#scorebuy').click(function(){
				Score_Dialog();
			});
		}else{
			$('#scorebuy').click(function(){
				Login_Dialog();
			});
		}
	}
</script>
<div class="p_content clearfix">
	<div class="fl" style="width: 710px;">
<div class="p_content clearfix" style="width: 710px;">
	<div class="thumb small_thumb">
		<div id="bigpic" class="small_pic">
		<#list accessoryList as list>
			<img src="${saveImagUrl}${list.path}" border="0" alt="" />
		<#break>
		</#list>	
		</div>
        <div id="smallpic" class="" style="padding-left:15px;">
        <#list accessoryList as list>
        	<span  <#if list_index==0>class="focus"</#if>  id="t_${list_index}">
        		<img src="${saveImagUrl}${list.path}" onmousemove="showbigimg(${list_index});" border="0" alt="" />
        	</span>
	        <#if list_index==2>
			<#break>
			</#if>
		</#list>
        </div>
	</div>
	<div class="p_details" style="width:410px;">
		<h3 class="red3" style="height: 25px; line-height: 25px; padding-top:5px;padding-left:14px;">开始时间：2012-03-06 00:00:00</h3>
		<h3 class="red3" style="height: 25px; line-height: 25px; padding-bottom:5px;padding-left:14px;">有效时间：2012-12-30 23:59:59</h3>
		<div class="dashed"></div>
		<div class="clearfix">
			<div class="fl" style="padding:10px 0 0 10px; width:195px;" class="clearfix">
				<span class="fl" style="text-align: center;  height: 23px; padding-left: 10px; padding-right: 10px; line-height: 23px; margin-top: 6px; margin-left: 5px;">所需积分</span>
				<strong	class="fl" style="color: #38A70B; font-size: 30px; font-family: Arial; margin-left: 5px;">${mall.integral}</strong>
			</div>
			<div class="fl" style="padding:16px 0 0 10px; width:195px;" class="clearfix">
				<span class="fl" style="text-align: center; height: 23px; padding-left: 10px; padding-right: 10px; line-height: 23px; margin-left: 5px;">市场价</span>
				<span class="fl blue" style="height: 23px; line-height: 23px; padding-left: 5px;">￥${mall.costprice}</span>
				<#if mall.state==0>
				<span class="fl blue" style="height: 23px; line-height: 23px; padding-left: 5px;"><img id="scorebuy" style="cursor:pointer;" title="马上兑换"/></span>
				<#elseif mall.state==1>
				<span class="fl blue" style="height: 23px; line-height: 23px; padding-left: 5px;color:red;">已结束兑换</span>
				</#if>
			</div>
		</div>
	<div class="dashed"></div>
	<div style="padding:5px 0 0 0px;">
		<div style="padding:5px 0px 0px 5px;">	
			<img src="http://www.51lpk.com/views/leke/i/ad_jifen_1.jpg"	border="0" alt="立即换购" />
		</div>
	</div>
</div>
<script type="text/javascript">
	function changcontent(mid,pic){
		$('#newstags span').removeClass('focus');
		$('#newscontent div').hide();
		$('#'+mid+'tag').addClass('focus');
		$('#'+mid+'list').show();
		$('#buyinfo').attr('class','').addClass(pic);
	}
</script>
<div class="clear"></div>
</div>
</div>
<div class="fr"	style="width: 265px; overflow: hidden; line-height: 10px;">	
	<div style="padding:5px 0px 0px -15px;">
		<img src="${base}/res/front/images/ad_jifen_2.jpg" style="" alt="" />
	</div>
</div>
</div>
<div class="p_message">
	<div class="wjst_title">
		<div class="focus_button displayFun" id="tab01" onclick="DisplayFun('tab01')">商品简介</div>
		<div class="common_button displayFun" id="tab03" onclick="DisplayFun('tab03')">商品描述</div>
	</div>
	<div class="wjst_line_mall"></div>
	<div id="tab_Father1">
			<div class="pro_detail" id="tab01_c">
			${goods.goodsbrief}
			</div>
			<div class="pro_detail" id="tab03_c" style="display:none">
			${goods.goodsabout}
			</div>
	</div>
	<div class="clear"></div>
</div>
</div>
</div>
</div>
<br/>
<script>
	getlogininfo();
</script>
<#include "foot.html">
</body>

</html>

